package com.example.testpulsar.mq.constant;

/**
 * @description: 消息队列所使用的常量
 * @author LiuZihan
 * @date 2021/8/18 16:00
 * @version 1.0
 */
public interface MqConstant {

    /**
     * 历史文章列表抓取任务topic
     */
    String ACQUISITION_HISTORY_LIST_TOPIC = "acquisition_history_list_topic";

    /**
     * 历史文章列表数据处理topic
     */
    String DATA_DEAL_HISTORY_LIST_TOPIC = "data_deal_history_list_topic";

    /**
     * 正文抓取任务topic
     */
    String ACQUISITION_CONTENT_TOPIC = "acquisition_content_topic";

    /**
     * 正文数据处理topic
     */
    String DATA_DEAL_CONTENT_TOPIC = "data_deal_content_topic";

    /**
     * 历史文章列表抓取任务subscription
     */
    String ACQUISITION_HISTORY_LIST_SUBSCRIPTION = "acquisition_history_list_subscription";

    /**
     * 历史文章列表数据处理subscription
     */
    String DATA_DEAL_HISTORY_LIST_SUBSCRIPTION = "data_deal_history_list_subscription";

    /**
     * 正文抓取任务subscription
     */
    String ACQUISITION_CONTENT_SUBSCRIPTION = "acquisition_content_subscription";

    /**
     * 正文数据处理subscription
     */
    String DATA_DEAL_CONTENT_SUBSCRIPTION = "data_deal_content_subscription";

    /**
     * 订阅所属类别WXGZH
     */
    String WXGZH_PREFIX = "wxgzh_";

    /**
     * 订阅所属类别WB
     */
    String WB_PREFIX = "wb_";

    /**
     * 微信公众号topic所属namespace
     */
    String NAMESPACE_WXGZH = "namespace_wxgzh";

    /**
     * 微博topic所属namespace
     */
    String NAMESPACE_WB = "namespace_wb";
}
